///iss数据实体类
class ISSDataEntity {
  String _name;
  String _imgUrl;
  String _imgUrlCheck;
  int _aisValue;
  int _issValue;
  List<ChildList> _childList;

  ISSDataEntity(
      {String name,
      String imgUrl,
      String imgUrlCheck,
      int aisValue,
      int issValue,
      List<ChildList> childList}) {
    this._name = name;
    this._imgUrl = imgUrl;
    this._imgUrlCheck = imgUrlCheck;
    this._aisValue = aisValue;
    this._issValue = issValue;
    this._childList = childList;
  }

  String get name => _name;

  set name(String name) => _name = name;

  String get imgUrl => _imgUrl;

  set imgUrl(String imgUrl) => _imgUrl = imgUrl;

  String get imgUrlCheck => _imgUrlCheck;

  set imgUrlCheck(String imgUrlCheck) => _imgUrlCheck = imgUrlCheck;

  int get aisValue => _aisValue;

  set aisValue(int aisValue) => _aisValue = aisValue;

  int get issValue => _issValue;

  set issValue(int issValue) => _issValue = issValue;

  List<ChildList> get childList => _childList;

  set childList(List<ChildList> childList) => _childList = childList;

  ISSDataEntity.fromJson(Map<String, dynamic> json) {
    _name = json['name'];
    _imgUrl = json['imgUrl'];
    _imgUrlCheck = json['imgUrlCheck'];
    _aisValue = json['aisValue'];
    _issValue = json['issValue'];
    if (json['childList'] != null) {
      _childList = [];
      json['childList'].forEach((v) {
        _childList.add(new ChildList.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this._name;
    data['imgUrl'] = this._imgUrl;
    data['imgUrlCheck'] = this._imgUrlCheck;
    data['aisValue'] = this._aisValue;
    data['issValue'] = this._issValue;
    if (this._childList != null) {
      data['childList'] = this._childList.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class ChildList {
  String _name;
  int _aisValue;
  int _issValue;
  List<GrandChildList> _grandChildList;

  ChildList(
      {String name,
      int aisValue,
      int issValue,
      List<GrandChildList> grandChildList}) {
    this._name = name;
    this._aisValue = aisValue;
    this._issValue = issValue;
    this._grandChildList = grandChildList;
  }

  String get name => _name;

  set name(String name) => _name = name;

  int get aisValue => _aisValue;

  set aisValue(int aisValue) => _aisValue = aisValue;

  int get issValue => _issValue;

  set issValue(int issValue) => _issValue = issValue;

  List<GrandChildList> get grandChildList => _grandChildList;

  set grandChildList(List<GrandChildList> grandChildList) =>
      _grandChildList = grandChildList;

  ChildList.fromJson(Map<String, dynamic> json) {
    _name = json['name'];
    _aisValue = json['aisValue'];
    _issValue = json['issValue'];
    if (json['grandChildList'] != null) {
      _grandChildList = [];
      json['grandChildList'].forEach((v) {
        _grandChildList.add(new GrandChildList.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this._name;
    data['aisValue'] = this._aisValue;
    data['issValue'] = this._issValue;
    if (this._grandChildList != null) {
      data['grandChildList'] =
          this._grandChildList.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class GrandChildList {
  int _value;
  int _check;
  String _key;
  List<SonLists> _sonLists;

  GrandChildList({int value, int check, String key, List<SonLists> sonLists}) {
    this._value = value;
    this._check = check;
    this._key = key;
    this._sonLists = sonLists;
  }

  int get value => _value;

  set value(int value) => _value = value;

  int get check => _check;

  set check(int check) => _check = check;

  String get key => _key;

  set key(String key) => _key = key;

  List<SonLists> get sonLists => _sonLists;

  set sonLists(List<SonLists> sonLists) => _sonLists = sonLists;

  GrandChildList.fromJson(Map<String, dynamic> json) {
    _value = json['value'];
    _check = json['check'];
    _key = json['key'];

    if (json['sonLists'] != null) {
      _sonLists = [];
      json['sonLists'].forEach((v) {
        _sonLists.add(new SonLists.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['value'] = this._value;
    data['check'] = this._check;
    data['key'] = this._key;
    if (this._sonLists != null) {
      data['sonLists'] = this._sonLists.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class SonLists {
  String _sontitle;
  List<String> _soncontent;

  SonLists({String sontitle, List<String> soncontent}) {
    this._sontitle = sontitle;
    this._soncontent = soncontent;
  }

  String get sontitle => _sontitle;

  set sontitle(String sontitle) => _sontitle = sontitle;

  List<String> get soncontent => _soncontent;

  set soncontent(List<String> soncontent) => _soncontent = soncontent;

  SonLists.fromJson(Map<String, dynamic> json) {
    _sontitle = json['sontitle'];
    if (json.containsKey('soncontent')) {
      _soncontent = json['soncontent'].cast<String>();
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['sontitle'] = this._sontitle;
    data['soncontent'] = this._soncontent;
    return data;
  }
}
